<%@ page language="java" contentType="text/html; charset=ISO-8859-1"pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		
		<title>
		</title>
		
  			<style>
   				 .error { color: red; }
 			 </style>
 			
	</head>
	
	<body>
		
		<form:form method="post" commandName="user">
		<fieldset style="size: auto">
			<legend> Authentifez vous</legend> 
			<table>
			  <tr>
			    <td><label>Login </label> </td>
			    <td><form:input path="login"></form:input></td>
			    <td> <form:errors path="login" cssClass="error"/> </td>
			  </tr>
			  <tr>
			    <td> <label> Mot de passe</label> </td>
			    <td> <form:input path="motDePasse"/> </td>
			    <td> <form:errors path="motDePasse" cssClass="error"/>  </td>
			  </tr>
			  	<tr> 
			  		<td> <input type="submit" value="connect"></input></td>
			  	</tr>
			 	
			</table>
			 </fieldset>
			 
			 
			<!--<fieldset>
			<legend> Authentifez vous</legend> 
			<label>Login </label> <form:input path="login"></form:input>
			<hr/>
			<form:errors path="login" cssClass="error"/>
			<hr/>
			<label> Mot de passe</label> <form:input path="motDePasse"/>
			<hr></hr>
			<form:errors path="motDePasse" cssClass="error"/> 
			<hr/>
			<label> </label> <input type="submit" value="connect"></input>
			</fieldset>-->
		</form:form>
	
	</body>
</html>